package com.jrfid.smartcabinet.demo.ui.login.finger

import androidx.lifecycle.ViewModelProvider
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.jrfid.smartcabinet.demo.R
import com.jrfid.smartcabinet.demo.base.BaseFragment
import com.jrfid.smartcabinet.demo.databinding.LoginByFingerFragmentBinding

class LoginByFingerFragment : BaseFragment<LoginByFingerFragmentBinding, LoginByFingerViewModel>(LoginByFingerViewModel::class.java) {

    companion object {
        fun newInstance() = LoginByFingerFragment()
    }

    override fun getLayoutId(): Int = R.layout.login_by_finger_fragment

    override fun setData() {

    }

    override fun onResume() {
        super.onResume()
        getDataBinding()?.animationView?.resumeAnimation()
    }

    override fun onPause() {
        super.onPause()
        getDataBinding()?.animationView?.pauseAnimation()
    }

}